package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uchiha.nova.core.tool.support.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 租户用户信息 实体类
 *
 * @author Uchihashiamu
 */
@Data
@TableName("nova_tenant_user")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "TenantUser对象")
public class TenantUserEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 名称
	 */
    @Schema(description = "名称")
    @TableField("name")
	private String name;
	/**
	 * 用户的post
	 */
    @Schema(description = "用户的post")
    @TableField("user_post_id")
	private Long userPostId;
	/**
	 * 用户的dept
	 */
    @Schema(description = "用户的dept")
    @TableField("user_dept_id")
	private Long userDeptId;
	/**
	 * 用户的company
	 */
    @Schema(description = "用户的company")
    @TableField("user_company_id")
	private Long userCompanyId;
	/**
	 * 用户的租户
	 */
    @Schema(description = "用户的租户")
    @TableField("tenant")
	private String tenant;
	/**
	 * 头像
	 */
    @Schema(description = "头像")
    @TableField("img")
	private String img;
	/**
	 * uuid
	 */
    @Schema(description = "uuid")
    @TableField("uuid")
	private String uuid;
	/**
	 * 角色id
	 */
	@Schema(description = "角色id")
	@TableField("role_id")
	private Long roleId;
	/**
	 * 性别
	 */
    @Schema(description = "性别")
    @TableField("gender")
	private String gender;

}
